﻿@model IList<StudyEnglish.Controllers.FilesController.FileModel>

@{
    ViewBag.Title = "Files";
}


<h2>Files</h2>

<table>
    
    @foreach(var f in Model)
    {
        var color = f.IsSaved ? "white" : "red";
        <tr>
            <td bgcolor="@color">
                @f.IsSaved
            </td>
            <td>
                @f.File
            </td>
        </tr>
            
    }
</table>
